wayland: Fix memleaks when rendering with Cairo
authorBenjamin Otte <otte@redhat.com>
Tue, 9 Mar 2021 18:52:59 +0000 (19:52 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 9 Mar 2021 18:52:59 +0000 (19:52 +0100)
commit0a9d075b47a06c342ab3fee84c230ba768f05257
tree69a284e541284258238574940c0878d668c9c996
parentb63c4d67229107ef54367fbabc8e3559dff10bdf
wayland: Fix memleaks when rendering with Cairo

We were leaking buffers. This wasn't caught by valgrind and friends
because it was shared memory (with the compositor), but top(1) would
instantly see memory consumption of the app and the shell go through the
roof.
gdk/wayland/gdkcairocontext-wayland.c